import java.util.ArrayList;

public class Food extends Product{
    String foodStatus = "";
    Integer duration = 0;
    boolean isFreshFood = true;

    Food(String Name, Integer Quantity, Double Price, String Comment, String Status, String Category, String foodStatus, Integer duration, Boolean isFreshFood) {
        super(Name, Quantity, Price, Comment, Status, Category);
        this.foodStatus = foodStatus;
        this.duration = duration;
        this.isFreshFood = isFreshFood;
    }

    public String getfoodStatus() {
        return foodStatus;
    }

    public int getduration() {
        return duration;
    }

    public Boolean getisFreshFood() {
        return isFreshFood;
    }

    @Override
    public String toString() {
        return "Food{" +
                "foodStatus='" + foodStatus + '\'' +
                ", duration=" + duration +
                ", isFreshFood=" + isFreshFood +
                ", Name='" + Name + '\'' +
                ", Quantity=" + Quantity +
                ", Price=" + Price +
                ", Comment='" + Comment + '\'' +
                ", Status='" + Status + '\'' +
                ", Category='" + Category + '\'' +
                '}';
    }
}
